package com.simple.framework.core.entry;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 事件上下文
 * 
 * @author wujiangpo
 *
 */
public class ActionContext {

	/**
	 * 主键：可以使用业务主键，也可以自义定义
	 */
	private String key;

	/**
	 * 具体的上下文信息
	 */
	private final ConcurrentHashMap<String, Object> context = new ConcurrentHashMap<String, Object>();

	public Map<String, Object> getContext() {
		return context;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

}
